package com.huang.we_chart.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (WorkArea)表实体类
 *
 * @author HuangShen
 * @since 2020-11-29 10:11:40
 */
@SuppressWarnings("serial")
public class WorkArea extends Model<WorkArea> {
    //维修员id
    private String subwayId;
    //楼号
    private String buildingId;


    public String getSubwayId() {
        return subwayId;
    }

    public void setSubwayId(String subwayId) {
        this.subwayId = subwayId;
    }

    public String getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(String buildingId) {
        this.buildingId = buildingId;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.subwayId;
    }
}